package com.lwlk.zdk.model.pw;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import java.util.Date;
public class pwVehicleMessage {
    private Integer id;

    @ApiModelProperty(value="平台id")
    private Integer platformId;

    @ApiModelProperty(value="车辆id")
    private Integer vehicleId;

    @ApiModelProperty(value="消息的优先级定义如下 0x00:紧急;0x01:一般:")
    private String msgPriority;

    @ApiModelProperty(value="下发报文内容")
    private String msgContent;

    @ApiModelProperty(value="应答内容")
    private String msgResponse;

    @ApiModelProperty(value="是否应答 -1:未应答 1:应答")
    private String isResponse;

    @ApiModelProperty(value = "应答时间")
    private Date answerTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Date getAnswerTime() {
        return answerTime;
    }

    public void setAnswerTime(Date answerTime) {
        this.answerTime = answerTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Integer platformId) {
        this.platformId = platformId;
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getMsgPriority() {
        return msgPriority;
    }

    public void setMsgPriority(String msgPriority) {
        this.msgPriority = msgPriority == null ? null : msgPriority.trim();
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent == null ? null : msgContent.trim();
    }

    public String getMsgResponse() {
        return msgResponse;
    }

    public void setMsgResponse(String msgResponse) {
        this.msgResponse = msgResponse == null ? null : msgResponse.trim();
    }

    public String getIsResponse() {
        return isResponse;
    }

    public void setIsResponse(String isResponse) {
        this.isResponse = isResponse == null ? null : isResponse.trim();
    }
}